package pl.com.like.sequoia.model.bio;

import java.util.List;

import pl.com.like.sequoia.model.Pojo;
import pl.com.like.sequoia.model.bio.enums.FileTypeEnum;
import pl.com.like.sequoia.model.bio.enums.SourceType;

public class BioObjectHandler extends Pojo<Long> {

	private static final long serialVersionUID = 8174547440797124477L;

	private String name;

	private FileTypeEnum fileType;

	private String path;

	private SourceType sourceType;

	private List<BioParam> bioParams;

	private Boolean checked;

	public List<BioParam> getBioParams() {
		return bioParams;
	}

	public Boolean getChecked() {
		return checked;
	}

	public FileTypeEnum getFileType() {
		return fileType;
	}

	@Override
	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getPath() {
		return path;
	}

	public SourceType getSourceType() {
		return sourceType;
	}

	public void setBioParams(List<BioParam> bioParams) {
		this.bioParams = bioParams;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public void setFileType(FileTypeEnum fileType) {
		this.fileType = fileType;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public void setSourceType(SourceType sourceType) {
		this.sourceType = sourceType;
	}

	/**
	 * Constructs a <code>String</code> with all attributes in name = value format.
	 * 
	 * @return a <code>String</code> representation of this object.
	 */
	@Override
	public String toString() {
		final String TAB = ", ";

		String retValue = "";

		retValue = "BioObjectHandler ( " + super.toString() + TAB + "name = " + this.name + TAB + "fileType = "
				+ this.fileType + TAB + "path = " + this.path + TAB + "sourceType = " + this.sourceType + TAB + " )";

		return retValue;
	}

}
